|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Functions | |
| void | main (void) |
| void | USCI_A0_ISR (void) |
Variables | |
| uint16_t | i |
| uint8_t | RXData = 0 |
| uint8_t | TXData = 0 |
| uint8_t | check = 0 |
| void main | ( | void | ) |
Definition at line 68 of file eusci_a_uart_ex1_loopbackAdvanced.c.
References check, param, STATUS_FAIL, and TXData.
| void USCI_A0_ISR | ( | void | ) |
Definition at line 166 of file eusci_a_uart_ex1_loopbackAdvanced.c.
| uint8_t check = 0 |
Definition at line 66 of file eusci_a_uart_ex1_loopbackAdvanced.c.
| uint16_t i |
EUSCI_A0 External Loopback test using EUSCI_A_UART_init API
Description: This demo connects TX to RX of the MSP430 UART The example code shows proper initialization of registers and interrupts to receive and transmit data.
ACLK = BRCLK = 32.768kHz, MCLK = SMCLK = DCO = ~1MHz
Tested on MSP430FR5969
-----------------
RST -| P2.0/UCA0TXD|----|
| | |
| | |
| P2.1/UCA0RXD|----|
| |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 64 of file eusci_a_uart_ex1_loopbackAdvanced.c.
| uint8_t RXData = 0 |
Definition at line 65 of file eusci_a_uart_ex1_loopbackAdvanced.c.
| uint8_t TXData = 0 |
Definition at line 65 of file eusci_a_uart_ex1_loopbackAdvanced.c.